package com.zucc.eye.mqtt;

public class MqttUtil {
    public static void subscribeAll(){
        PushClient client = PushClient.getInstance();

        int[] qos =  MqttConfig.qos;
        String[] topic  =  MqttConfig.topics;

        for (int i = 0; i < topic.length; i++) {
            //client.subscribe(topic[i], qos[i]);
            client.subscribe(topic[i], qos[i]);
        }

    }
}
